package com.mic.security.test.dao;

import java.util.List;

import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import com.mic.security.dao.ResourceDAO;
import com.mic.security.model.Resource;

public class ResourceMapperTestCase extends MapperTestCase {

	@Autowired
	private ResourceDAO resourceDAO;

	@Test
	public void test_findResources() {

		List<Resource> resources = resourceDAO.listResources();
		for (Resource resource : resources) {
			System.out.println(resource.toString());
		}

	}

}
